<?php
namespace Home\Controller;
use Common\Controller\BaseController;

class LogoutController extends BaseController {

    public function index(){
        session("username", null);
        $this->success("成功");
        //$this->redirect(C("site_url"));
    }
}